<h1>Register</h1>


<form method="post" action="/register.php">
<input type="hidden" name="action" id="action" value="register" />

<div class="form_box">
    <small>All fields are required.</small><br /><br />
    
    <label for="firstname" style="margin-right:42px;">First name:</label>  <label for="lastname">Last name:</label><br />
    <input type="text" size="10" name="firstname" id="firstname" value="<?=$firstname?>" /> &nbsp; 
    <input type="text" size="10" name="lastname" id="lastname" value="<?=$lastname?>" /><br /><br />
    
    <label for="email">E-mail:</label><br /> 
    <input type="text" size="40" name="email" id="email" value="<?=$email?>" /><br />
    
    <label for="email_retype">Retype E-mail:</label><br />
    <input type="text" size="40" name="email_retype" id="email_retype" value="<?=$email_retype?>" /><br /><br />
    
    
    <label for="password" style="margin-right:42px;">Password:</label> <label for="password_retype">Retype Password:</label><br />
    <input type="password" size="10" name="password" id="password" value="<?=$password?>" /> &nbsp;
    <input type="password" size="10" name="password_retype" id="password_retype" value="<?=$password_retype ?>" />
</div>



<h2>Captcha</h2>
<p>Please fill in the field below so that we can verify that you're a human being and not a BOT. Thank you!</p>


        <div id="captcha_box">
        <? echo generateCaptcha(); ?>
        </div>

<br />

<input type="submit" value="register" />
<input type="reset" value="clear fields" />

</form>
